package com.lagou.sqlSession;

import com.lagou.pojo.Configuration;
import com.lagou.pojo.MappedStatement;


public interface Executor {

    public <E> E query(Configuration configuration, MappedStatement mappedStatement,Object... args) throws Exception;

    int update(Configuration configuration, MappedStatement mappedStatement,Object... args) throws Exception;

}
